package tree;

import javax.swing.tree.DefaultMutableTreeNode;

abstract public class AbstractTreeNode extends DefaultMutableTreeNode {
	public static final int RootNode = 0;
	public static final int CatalogNode = 1;
	public static final int TableNode = 2;
	public static final int FieldNode = 3;

	public AbstractTreeNode() {
		super();
	}

	public AbstractTreeNode(Object arg0) {
		super(arg0);
	}

	public AbstractTreeNode(Object arg0, boolean arg1) {
		super(arg0, arg1);
	}

	// public String toString()
	// {
	// return this.getNodeType() + ":" + this.getUserObject() +
	// " [Parent:" + this.getParent() +
	// ", " + "Child: " + this.getChildCount() + "]";
	// }

	abstract public int getNodeType();
}
